import api2 from '../project/config/api'
const api = {
  login: '/sys/login',
  refreshToken: '/sys/refreshToken',
  logout: '/sys/logout',
  test: '/sys/test',
  test1: '/sys/test1',
  menu: {
    list: '/menu/list',
    delete: '/menu/delete',
    add: '/menu/add',
    update: '/menu/update'
  },
  api: {
    list: '/api/list',
    delete: '/api/delete',
    add: '/api/add',
    update: '/api/update',
    batchDelete: '/api/batchDelete',
    one: '/api/one',
    all: '/api/all'
  },
  role: {
    list: '/role/list',
    delete: '/role/delete',
    add: '/role/add',
    update: '/role/update',
    batchDelete: '/role/batchDelete',
    detail: '/role/detail'
  },
  user: {
    list: '/user/list',
    delete: '/user/delete',
    add: '/user/add',
    update: '/user/update',
    batchDelete: '/user/batchDelete',
    detail: '/user/detail'
  },
  fileServer: {
    list: '/fileServer/list',
    delete: '/fileServer/delete',
    add: '/fileServer/add',
    update: '/fileServer/update',
    batchDelete: '/fileServer/batchDelete',
    detail: '/fileServer/detail'
  },
  fileType: {
    list: '/fileType/list',
    delete: '/fileType/delete',
    add: '/fileType/add',
    update: '/fileType/update',
    batchDelete: '/fileType/batchDelete',
    detail: '/fileType/detail'
  },
  fileRecord: {
    list: '/fileRecord/list',
    delete: '/fileRecord/delete',
    add: '/fileRecord/add',
    update: '/fileRecord/update',
    batchDelete: '/fileRecord/batchDelete',
    detail: '/fileRecord/detail'
  }
}
Object.assign(api2, api)
export default api2
